<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <h:body>

        <ui:composition template="/resources/template/template.xhtml">

            <ui:define name="content">

                <h:form>
                    <p:panel header="Lists">

                        <h:panelGrid columns="2" styleClass="alignTop">
                            <p:accordionPanel>
                                <p:tab title="OPD Reports">
                                    <h:panelGrid columns="1" >
                                        <p:commandButton ajax="false" value="Bill List" action="report_list_opd_bills" 
                                                         styleClass="linkButton"></p:commandButton>
                                        <p:commandButton ajax="false" value="Cancelled Bill List" action="#" styleClass="linkButton"></p:commandButton>
                                        <p:commandButton ajax="false" value="Returned Bill List" action="#" styleClass="linkButton"></p:commandButton>

                                    </h:panelGrid>
                                </p:tab>
                                <p:tab title="Lab Reports">
                                    <h:panelGrid columns="1" >
                                        <p:commandButton ajax="false" value="Bill List" action="#"  styleClass="linkButton"></p:commandButton>
                                        <p:commandButton ajax="false" value="Test List" action="report_list_lab_tests"  styleClass="linkButton"></p:commandButton>
                                        <p:commandButton ajax="false" value="Referral Bill List" action="#"  styleClass="linkButton"></p:commandButton>
                                        <p:commandButton ajax="false" value="Referral Test List" action="#"  styleClass="linkButton"></p:commandButton>
                                    </h:panelGrid>
                                </p:tab>
                            </p:accordionPanel>

                            <h:panelGroup >

                                <ui:insert name="report"   >

                                </ui:insert>

                            </h:panelGroup>

                        </h:panelGrid>





                    </p:panel>
                </h:form>
            </ui:define>


        </ui:composition>

    </h:body>
</html>
